// import store from '../store/store';
import storage from './storage.js'

export function setToken(token) {
	// store.commit('setToken', 'Bearer: ' + token);
    storage.setItem('token', 'Bearer ' + token)
}

export function getToken() {
  // return store.state.token || storage.getItem('token')
  return storage.getItem('token')
}